xen.git
20 years ago[IA64] ptc.ga for SMP-g
awilliam@xenbuild.aw [Mon, 27 Mar 2006 22:36:47 +0000 (15:36 -0700)]
[IA64] ptc.ga for SMP-g

ptc.ga extended for SMP-g.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
20 years ago[IA64] Make sharedinfo and shared_archinfo adjacent
awilliam@xenbuild.aw [Mon, 27 Mar 2006 22:35:31 +0000 (15:35 -0700)]
[IA64] Make sharedinfo and shared_archinfo adjacent

Move SHAREDINFO_ADDR and SHARED_ARCHINFO_ADDR to be adjacent, which
makes easier to access two areas by offset into same base.

Also remove duplicated XSI_ definitions in asm-offsets.c.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
20 years ago[IA64] recompile asm-xsi-offsets.h at right time
awilliam@xenbuild.aw [Mon, 27 Mar 2006 22:34:02 +0000 (15:34 -0700)]
[IA64] recompile asm-xsi-offsets.h at right time

asm-xsi-offsets.h also needs to be re-compiled when header files change,
or else there'll still be window for xenlinux to see mismatched offsets
definition.

Also remove unused definitions in asm-offsets.c

Signed-off-by: Kevin Tian <Kevin.Tian@intel.com>
20 years ago[IA64] Followup to xen time cleanup
awilliam@xenbuild.aw [Mon, 27 Mar 2006 22:32:08 +0000 (15:32 -0700)]
[IA64] Followup to xen time cleanup

Clean up to xen time handler. Tristan #if 0 some code because it seems
redundant, which however is actually problematic logic as a reason for
an intermittent timer oops issue of dom0. So delete it now.

Also remove vcpu_wake, since wakeup current has nothing meaningful and
simply waste cpu cycle.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
20 years ago[IA64] fix build breakage
awilliam@xenbuild.aw [Fri, 24 Mar 2006 18:36:22 +0000 (11:36 -0700)]
[IA64] fix build breakage

Looks like we do need to include asm/hypercall.h

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
20 years ago[IA64] Fix domain destroy bug when multiple domains exist
awilliam@xenbuild.aw [Fri, 24 Mar 2006 17:46:14 +0000 (10:46 -0700)]
[IA64] Fix domain destroy bug when multiple domains exist

Currently vmx irq handler doesn't handle IA64_IPI_VECTOR, which is
instead pended to dom0 incorrectly. That bug made people observing
system hang when destroying domU with domVTI kept running. Actually
there's no need for two different irq handlers, which should be
same as long as softirq is checked at exit path back to guest. So
remove vmx version here.

With this fix, now we can create two domains (domU+domVTI), then
destroy domU, create another domVTI, destroy domVTI with all steps
successfully finished.

Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
20 years ago[IA64] assign_new_domain_page now calls assign_domain_page
awilliam@xenbuild.aw [Fri, 24 Mar 2006 17:41:48 +0000 (10:41 -0700)]
[IA64] assign_new_domain_page now calls assign_domain_page

assign_new_domain_page inlines assign_new_domain0_page and calls
assign_domain_page.
cleanup in asm-ia64/xenprocessor.h

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
20 years ago[IA64] dump_stack() for debug.
awilliam@xenbuild.aw [Fri, 24 Mar 2006 17:38:41 +0000 (10:38 -0700)]
[IA64] dump_stack() for debug.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
20 years ago[IA64] obvious compilation fix (hypercall.h, hypervisor.h)
awilliam@xenbuild.aw [Fri, 24 Mar 2006 17:36:14 +0000 (10:36 -0700)]
[IA64] obvious compilation fix (hypercall.h, hypervisor.h)

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
20 years ago[IA64] trivial compilation fix (debugger.h)
awilliam@xenbuild.aw [Fri, 24 Mar 2006 17:34:40 +0000 (10:34 -0700)]
[IA64] trivial compilation fix (debugger.h)

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
20 years ago[IA64] fix PRtype_info and removed some warning
awilliam@xenbuild.aw [Fri, 24 Mar 2006 17:32:35 +0000 (10:32 -0700)]
[IA64] fix PRtype_info and removed some warning

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
20 years ago[IA64] ia64/xen-mkbuildtree-pre: use ln -sf instread of cp
awilliam@xenbuild.aw [Fri, 24 Mar 2006 17:27:05 +0000 (10:27 -0700)]
[IA64] ia64/xen-mkbuildtree-pre: use ln -sf instread of cp

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
20 years ago[IA64] Recompile asm-offsets.h at correct time
awilliam@xenbuild.aw [Fri, 24 Mar 2006 17:20:25 +0000 (10:20 -0700)]
[IA64] Recompile asm-offsets.h at correct time

Recompile asm-offsets.h when header files are changed. Currently it's not
recompiled even when important strutures changes after "hg pull" and thus
make interface mismatch between xen and xenlinux. I've encountered several
times after boring debug to find the reason.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
20 years ago[IA64] avoid networking in VTI
awilliam@xenbuild.aw [Thu, 23 Mar 2006 21:14:20 +0000 (14:14 -0700)]
[IA64] avoid networking in VTI

It's currently not working.

From: Zhang Xiantao <xiantao.zhang@intel.com>

20 years ago[IA64] bug fix in privop.c (2)
awilliam@xenbuild.aw [Thu, 23 Mar 2006 20:28:26 +0000 (13:28 -0700)]
[IA64] bug fix in privop.c (2)

Dan found another instance of the same bug, ia64 registers are 64bits.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
20 years ago[IA64] bug fix in privop.c
awilliam@xenbuild.aw [Thu, 23 Mar 2006 20:25:55 +0000 (13:25 -0700)]
[IA64] bug fix in privop.c

Bug fix: an ia64 register is 64bits!

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
20 years ago[IA64] Remove warning messages
awilliam@xenbuild.aw [Thu, 23 Mar 2006 20:22:56 +0000 (13:22 -0700)]
[IA64] Remove warning messages

This patch removed warning messages in vmx_phy_mode.c
and vmx_virt.c.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
20 years ago[IA64] IA64_GRANT_TABLE_PADDR
awilliam@xenbuild.aw [Thu, 23 Mar 2006 20:19:14 +0000 (13:19 -0700)]
[IA64] IA64_GRANT_TABLE_PADDR

IA64_GRANT_TABLE_PADDR constant added to avoid use of hard-coded value.
translate_domain_pte uses it as well as ORDER_GRANT_FRAMES to filter error
message.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
20 years ago[IA64] build xen_sysfs by default
awilliam@xenbuild.aw [Wed, 22 Mar 2006 17:04:43 +0000 (10:04 -0700)]
[IA64] build xen_sysfs by default

This works on xen/ia64 too, enable the code

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
20 years agomerge xen-unstable.hg
awilliam@xenbuild.aw [Wed, 22 Mar 2006 16:12:48 +0000 (09:12 -0700)]
merge xen-unstable.hg

20 years ago[IA64] Fixed VTI domain destruction
awilliam@xenbuild.aw [Wed, 22 Mar 2006 15:57:48 +0000 (08:57 -0700)]
[IA64] Fixed VTI domain destruction

This patch fixed the VTI domain destruction processing.
I tested creation/destruction domU. The "domU" which I tested is
VTI domain and non VTI domain. There was not the memory leak
issue, and VTI domain is not left in a zombie state.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
20 years ago[IA64] dom0_max_vcpus and dom0 vcpus creation
awilliam@xenbuild.aw [Wed, 22 Mar 2006 15:53:20 +0000 (08:53 -0700)]
[IA64] dom0_max_vcpus and dom0 vcpus creation

dom0_max_vcpus option added (default is 1).
Create dom0 vcpus.
Fix creations issue for SMP-g.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
20 years agoA few cleanups based on comments from Arjan van de Ven.
kaf24@firebug.cl.cam.ac.uk [Wed, 22 Mar 2006 11:21:44 +0000 (12:21 +0100)]
A few cleanups based on comments from Arjan van de Ven.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoUse shiny new mutexes instead of semaphores where possible in our Linux code.
kaf24@firebug.cl.cam.ac.uk [Wed, 22 Mar 2006 10:55:43 +0000 (11:55 +0100)]
Use shiny new mutexes instead of semaphores where possible in our Linux code.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoLicensing clarifications in Linux source files:
kaf24@firebug.cl.cam.ac.uk [Wed, 22 Mar 2006 10:30:57 +0000 (11:30 +0100)]
Licensing clarifications in Linux source files:
 1. Make it clear in all dual-licensed files that the
    license when distributed with Linux is GPLv2.
 2. Add MODULE_LICENSE(dual) in a few places.
 3. Change many of our EXPORT_SYMBOL() decls to EXPORT_SYMBOL_GPL().
    This is the preference of the Linux maintainers, and avoids any
    trouble down the road if our EXPORT_SYMBOL'ed functions use Linux
    internal interfaces that are GPL only.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoOn x86/64 a domU kernel just sits around forever on a panic because
kaf24@firebug.cl.cam.ac.uk [Wed, 22 Mar 2006 09:38:44 +0000 (10:38 +0100)]
On x86/64 a domU kernel just sits around forever on a panic because
the HV doesn't know it crashed.  This patch sends the signal, which
allows the kernel to be cleaned up (according to whatever guest.conf
rules). It is basically copied and pasted from the i386 branch.

From: Don Zickus
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoSVM patch to enable SMI intercept.
kaf24@firebug.cl.cam.ac.uk [Wed, 22 Mar 2006 09:36:22 +0000 (10:36 +0100)]
SVM patch to enable SMI intercept.

Signed-off-by: Tom Woller <thomas.woller@amd.com>
20 years agoSVM patch to fix problem with evtchn/lost interrupts and re-enable hvm_safe_block().
kaf24@firebug.cl.cam.ac.uk [Wed, 22 Mar 2006 09:36:02 +0000 (10:36 +0100)]
SVM patch to fix problem with evtchn/lost interrupts and re-enable hvm_safe_block().

Signed-off-by: Tom Woller <thomas.woller@amd.com>
20 years agoSVM patch to fix problem with instruction decode.
kaf24@firebug.cl.cam.ac.uk [Wed, 22 Mar 2006 09:35:35 +0000 (10:35 +0100)]
SVM patch to fix problem with instruction decode.

Signed-off-by: Tom Woller <thomas.woller@amd.com>
20 years agoPrevent a stray error message in the case that either DISTDIR or
kaf24@firebug.cl.cam.ac.uk [Tue, 21 Mar 2006 21:57:47 +0000 (22:57 +0100)]
Prevent a stray error message in the case that either DISTDIR or
DESTDIR is empty, by preventing readlink from being called in that
case.

Another option would be to use readlink -s, but that has the
undesirable effect of staying silent in situations other than empty
DISTDIR/DESTDIR

Signed-off-by: Aron Griffis <aron@hp.com>
20 years agoClean up #include in init-xen.h.
kaf24@firebug.cl.cam.ac.uk [Tue, 21 Mar 2006 21:55:29 +0000 (22:55 +0100)]
Clean up #include in init-xen.h.

Signed-off-by: Muli Ben-Yehuda <mulix@mulix.org>
20 years agoThe following patch adds support to vmxassist for SYSLINUX/ISOLINUX. This
kaf24@firebug.cl.cam.ac.uk [Tue, 21 Mar 2006 21:50:48 +0000 (22:50 +0100)]
The following patch adds support to vmxassist for SYSLINUX/ISOLINUX. This
enables you to install SLES-10 as an unmodified guest.

Notice that at this time, vmxassist does not support the graphic bootstrap
loader (gfxboot), so be sure the set "stdvga=1" in your configuration file
to prevent gfxboot from kicking in (or hit SHIFT really fast).

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
20 years agoFix a build problem when enabling XEN_SYSFS on xen/ia64.
kaf24@firebug.cl.cam.ac.uk [Tue, 21 Mar 2006 21:48:04 +0000 (22:48 +0100)]
Fix a build problem when enabling XEN_SYSFS on xen/ia64.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
20 years agomerge
awilliam@xenbuild.aw [Tue, 21 Mar 2006 18:19:11 +0000 (11:19 -0700)]
merge

20 years agoThe patch fixes a problem when testing for device /dev/tpm0. The API
emellor@leeni.uk.xensource.com [Tue, 21 Mar 2006 17:57:23 +0000 (18:57 +0100)]
The patch fixes a problem when testing for device /dev/tpm0. The API
call os.path.exists() must be called instead of os.path.isfile().

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
20 years ago[IA64] cleanup in domain.c
awilliam@xenbuild.aw [Tue, 21 Mar 2006 16:55:44 +0000 (09:55 -0700)]
[IA64] cleanup in domain.c

Remove unused code.
More static added.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
20 years ago[IA64] cleanup of tlb.c
awilliam@xenbuild.aw [Tue, 21 Mar 2006 16:55:04 +0000 (09:55 -0700)]
[IA64] cleanup of tlb.c

#if 0 unused code for tlb management.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
20 years ago[IA64] remove linux/patch.c
awilliam@xenbuild.aw [Tue, 21 Mar 2006 16:18:28 +0000 (09:18 -0700)]
[IA64] remove linux/patch.c

Removed, was unused.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
20 years ago[IA64] EFI_RESET_SYSTEM now reboots domU.
awilliam@xenbuild.aw [Tue, 21 Mar 2006 16:13:07 +0000 (09:13 -0700)]
[IA64] EFI_RESET_SYSTEM now reboots domU.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
20 years agoNanosecs not usecs in a time comment.
kaf24@firebug.cl.cam.ac.uk [Tue, 21 Mar 2006 14:40:54 +0000 (15:40 +0100)]
Nanosecs not usecs in a time comment.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years ago'permitted_clock_jitter' units are nanoseconds not microseconds.
kaf24@firebug.cl.cam.ac.uk [Tue, 21 Mar 2006 14:10:26 +0000 (15:10 +0100)]
'permitted_clock_jitter' units are nanoseconds not microseconds.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoRemove import of xen.lowlevel.xc, left over from when ballooning was done here
emellor@leeni.uk.xensource.com [Tue, 21 Mar 2006 11:45:59 +0000 (12:45 +0100)]
Remove import of xen.lowlevel.xc, left over from when ballooning was done here
(moved to the server in December).

Signed-off-by: Ewan Mellor <ewan@xensource.com>
20 years agoProtect cleanupDomain with the refresh_shutdown_lock. This stops the device
emellor@leeni.uk.xensource.com [Tue, 21 Mar 2006 11:41:33 +0000 (12:41 +0100)]
Protect cleanupDomain with the refresh_shutdown_lock.  This stops the device
and watch teardown being run concurrently from multiple threads, silencing
the No such file or directory error when tearing down the control/shutdown
watch, and reducing load on the store.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
20 years agoMerged.
emellor@leeni.uk.xensource.com [Tue, 21 Mar 2006 11:26:38 +0000 (12:26 +0100)]
Merged.

20 years agoOnly send the OFFLINE hotplug event if be->netif is set. Firstly, this ensures
emellor@leeni.uk.xensource.com [Tue, 21 Mar 2006 11:25:23 +0000 (12:25 +0100)]
Only send the OFFLINE hotplug event if be->netif is set.  Firstly, this ensures
that OFFLINE is only sent if the ONLINE event has been sent.  Secondly, this
fixes one possible cause of the reopened bug #549 as it prevents be->netif
being dereferenced inside netback_uevent.  Early reports suggest that this is
not the only cause of #549, so that bug remains open for now.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
20 years agoFix the implicit declaration of function `swiotlb_init' warning, by including
emellor@leeni.uk.xensource.com [Tue, 21 Mar 2006 11:21:08 +0000 (12:21 +0100)]
Fix the implicit declaration of function `swiotlb_init' warning, by including
the appropriate headers.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
20 years agoCreates a module that exports Xen Hypervisor attributes to sysfs. The
kaf24@firebug.cl.cam.ac.uk [Tue, 21 Mar 2006 11:17:19 +0000 (12:17 +0100)]
Creates a module that exports Xen Hypervisor attributes to sysfs. The
module has a tri-state configuration so it can be a loadable module.

Views the hypervisor as hardware device, uses sysfs as  a scripting
interface for user space tools that need these attributes.

Some user space apps, particularly for systems management, need to
know if their kernel is running in a virtual machine and if so in
what type of virtual machine. This property is contained in the
file /sys/hypervisor/type.

The file hypervisor_sysfs.c creates a generic  hypervisor subsystem
that can be linked to by any hypervisor. The file xen_sysfs.c exports
the xen-specific attributes.

Signed-off-by: Mike D. Day <ncmike@us.ibm.com>
20 years agoIncrease timeout while waiting for console/tty node to appear in the store:
emellor@leeni.uk.xensource.com [Tue, 21 Mar 2006 10:56:11 +0000 (11:56 +0100)]
Increase timeout while waiting for console/tty node to appear in the store:
the intention appears to have been 500msec, but struct timeval when used with
a select() is in usec, not msec.  The timeout has been set to 250msec (500msec
seems a little long, in any case).

Signed-off-by: Ewan Mellor <ewan@xensource.com>
20 years agoBreak out common parts of vtpm tests into new vtpm_utils library.
emellor@leeni.uk.xensource.com [Tue, 21 Mar 2006 10:49:29 +0000 (11:49 +0100)]
Break out common parts of vtpm tests into new vtpm_utils library.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
20 years agoMerged.
emellor@leeni.uk.xensource.com [Tue, 21 Mar 2006 10:44:56 +0000 (11:44 +0100)]
Merged.

20 years agoStop the domain at the end of the test.
emellor@leeni.uk.xensource.com [Tue, 21 Mar 2006 10:44:18 +0000 (11:44 +0100)]
Stop the domain at the end of the test.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
20 years agoMerged.
kaf24@firebug.cl.cam.ac.uk [Tue, 21 Mar 2006 10:43:44 +0000 (11:43 +0100)]
Merged.

20 years agoSince we now have general rules to build ALL_OBJS, we don't need to manually
kaf24@firebug.cl.cam.ac.uk [Tue, 21 Mar 2006 10:42:39 +0000 (11:42 +0100)]
Since we now have general rules to build ALL_OBJS, we don't need to manually
build them. Compile-tested on x86 and PPC. Should work on IA64 too.

Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
20 years agoMerged.
emellor@leeni.uk.xensource.com [Tue, 21 Mar 2006 10:42:08 +0000 (11:42 +0100)]
Merged.

20 years agoAdd a.out files to mercurial ignore list.
kaf24@firebug.cl.cam.ac.uk [Tue, 21 Mar 2006 10:40:41 +0000 (11:40 +0100)]
Add a.out files to mercurial ignore list.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoAdded -u flag (unsafe) to runtest.sh, to skip the sanity checks. This improves
emellor@leeni.uk.xensource.com [Tue, 21 Mar 2006 10:39:09 +0000 (11:39 +0100)]
Added -u flag (unsafe) to runtest.sh, to skip the sanity checks.  This improves
turnaround when developing tests.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
20 years agoUpdate xen/ia64 to use the new build system. Fixes the ia64 build.
kaf24@firebug.cl.cam.ac.uk [Tue, 21 Mar 2006 10:38:50 +0000 (11:38 +0100)]
Update xen/ia64 to use the new build system. Fixes the ia64 build.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
20 years agoFix a bug, and also fixes the build with some gcc4 versions.
kaf24@firebug.cl.cam.ac.uk [Tue, 21 Mar 2006 10:34:41 +0000 (11:34 +0100)]
Fix a bug, and also fixes the build with some gcc4 versions.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoThe current ptrace code is traversing the page table structures to
kaf24@firebug.cl.cam.ac.uk [Tue, 21 Mar 2006 10:29:17 +0000 (11:29 +0100)]
The current ptrace code is traversing the page table structures to
guest guest physical address, even when the guest paging is disabled.
The gdbserver-xen tries to access guest pdes & ptes to map memory of
hvm guest being debugged; and it gets a seg-fault because guest has not
setup it's paging yet. The attached patch adds guest paging state check,
so that the map_domain_va() can get the correct guest physical address
from guest va.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
20 years agoNew SMP IPI interface function called on_selected_cpus(), currently implemented
kaf24@firebug.cl.cam.ac.uk [Tue, 21 Mar 2006 10:28:03 +0000 (11:28 +0100)]
New SMP IPI interface function called on_selected_cpus(), currently implemented
only for x86. The x86 implementation of smp_call_function has been simplified
and is now based on on_slected_cpus().

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoPut 03_vtpm-susp_res.py in its rightful place.
emellor@leeni.uk.xensource.com [Tue, 21 Mar 2006 08:53:00 +0000 (09:53 +0100)]
Put 03_vtpm-susp_res.py in its rightful place.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
20 years agoTest suspend and resume cycles of the TPM front- and backend.
emellor@leeni.uk.xensource.com [Tue, 21 Mar 2006 00:28:29 +0000 (01:28 +0100)]
Test suspend and resume cycles of the TPM front- and backend.
Now that sysfs is mounted in the RAM disk of the test environment, the
test code does not need to do this anymore. This patch also simplifies
previous tests and the APIs used there. If prerequisites are not met
(vtpm manager not running) the patch will 'skip'.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
20 years agoAdd an option to xmtest to report results to an alternative results repository.
pl@us.ibm.com [Tue, 21 Mar 2006 00:19:24 +0000 (01:19 +0100)]
Add an option to xmtest to report results to an alternative results repository.
The default is preserved but can be overridden by either passing it with -r to runtest.sh or by setting the xmtest_repo environment variable.

Signed-off-by: Paul Larson <pl@us.ibm.com>
20 years agoMake sure the check to see if device is in use doesn't happen. We need
stekloff@elm3b49.beaverton.ibm.com [Tue, 21 Mar 2006 00:13:14 +0000 (01:13 +0100)]
Make sure the check to see if device is in use doesn't happen. We need
to share disk.imgs. Qemu doesn't honor the 'r' read-only value.

Signed-off-by: Daniel Stekloff <dsteklof@us.ibm.com>
20 years agoRemove obsolete startNow() method from XmTestDomain object.
stekloff@elm3b49.beaverton.ibm.com [Tue, 21 Mar 2006 00:11:18 +0000 (01:11 +0100)]
Remove obsolete startNow() method from XmTestDomain object.

Signed-off-by: Daniel Stekloff <dsteklof@us.ibm.com>
20 years agoAdd mounting /sys for 2.6 xm-test images.
stekloff@dyn9047022152.beaverton.ibm.com [Tue, 21 Mar 2006 00:10:46 +0000 (01:10 +0100)]
Add mounting /sys for 2.6 xm-test images.

Signed-off-by: Daniel Stekloff <dsteklof@us.ibm.com>
20 years agoPatch to correct inconsistencies of xm-test reporting.
root@dyn9047022116.beaverton.ibm.com [Tue, 21 Mar 2006 00:08:59 +0000 (01:08 +0100)]
Patch to correct inconsistencies of xm-test reporting.

Signed-off-by: Woody Marvel <marvel@us.ibm.com>
20 years agoUpdate to Linux 2.6.16.
cl349@firebug.cl.cam.ac.uk [Mon, 20 Mar 2006 20:10:17 +0000 (20:10 +0000)]
Update to Linux 2.6.16.

Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
--HG--
rename : patches/linux-2.6.16-rc6/i386-mach-io-check-nmi.patch => patches/linux-2.6.16/i386-mach-io-check-nmi.patch
rename : patches/linux-2.6.16-rc6/net-csum.patch => patches/linux-2.6.16/net-csum.patch
rename : patches/linux-2.6.16-rc6/pmd-shared.patch => patches/linux-2.6.16/pmd-shared.patch
rename : patches/linux-2.6.16-rc6/smp-alts.patch => patches/linux-2.6.16/smp-alts.patch

20 years agoAdd missing empty ia64 files.
kaf24@firebug.cl.cam.ac.uk [Mon, 20 Mar 2006 17:38:50 +0000 (18:38 +0100)]
Add missing empty ia64 files.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoSome more build-system finessing:
kaf24@firebug.cl.cam.ac.uk [Mon, 20 Mar 2006 17:36:35 +0000 (18:36 +0100)]
Some more build-system finessing:
 1. subdirs-y -> subdir-y (match Linux name, and also obj-y
    is singular so this makes sense).
 2. subdirs can be declared with or without trailing slash
 3. As with Linux, subdirs can be declared in the obj-y list
    but they must be distinguished by a trailing slash

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoFix Xen target image dependencies.
kaf24@firebug.cl.cam.ac.uk [Mon, 20 Mar 2006 17:25:01 +0000 (18:25 +0100)]
Fix Xen target image dependencies.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoFix 64-bit build.
kaf24@firebug.cl.cam.ac.uk [Mon, 20 Mar 2006 17:20:44 +0000 (18:20 +0100)]
Fix 64-bit build.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years ago[IA64] Hypercalls are only allowed by kernels.
awilliam@xenbuild.aw [Mon, 20 Mar 2006 16:56:58 +0000 (09:56 -0700)]
[IA64] Hypercalls are only allowed by kernels.

Add the "unsafe_hypercall" command line option to allow
some unsafe user hypercalls.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
20 years ago[IA64] Check privilege level for pal/sal/efi calls.
awilliam@xenbuild.aw [Mon, 20 Mar 2006 16:55:32 +0000 (09:55 -0700)]
[IA64] Check privilege level for pal/sal/efi calls.

Previously a user was able to reset the machine.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
20 years ago[IA64] Replace huge if/else if with a switch.
awilliam@xenbuild.aw [Mon, 20 Mar 2006 16:53:17 +0000 (09:53 -0700)]
[IA64] Replace huge if/else if with a switch.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
20 years ago[IA64] correct mistake from previous patch
awilliam@xenbuild.aw [Mon, 20 Mar 2006 16:33:38 +0000 (09:33 -0700)]
[IA64] correct mistake from previous patch

Oops, mis-corrected the previous patch, Kan was correct.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
20 years ago[IA64] Removed warning messages
awilliam@xenbuild.aw [Mon, 20 Mar 2006 16:19:36 +0000 (09:19 -0700)]
[IA64] Removed warning messages

This patch removed warning messages in vcpu.c, xentime.c and xensetup.c.
I tested compilation, booting dom0, and creation/destruction domU.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
20 years ago[IA64] Removed unnecessary header files
awilliam@xenbuild.aw [Mon, 20 Mar 2006 16:04:51 +0000 (09:04 -0700)]
[IA64] Removed unnecessary header files

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
20 years agoUpgrade genapic code to 2.6.16-rc6 codebase. Remove entries from
kaf24@firebug.cl.cam.ac.uk [Mon, 20 Mar 2006 16:01:16 +0000 (17:01 +0100)]
Upgrade genapic code to 2.6.16-rc6 codebase. Remove entries from
genapic structure that Xen does not require (mostly because we do
not support Visual Workstation nor IBM/Sequent NUMA-Q).

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoFix a protocol violation in the pcnet emulation. Tested on at least
kaf24@firebug.cl.cam.ac.uk [Mon, 20 Mar 2006 11:01:32 +0000 (12:01 +0100)]
Fix a protocol violation in the pcnet emulation.  Tested on at least
two systems and fixes the 'corrupt MAC' with scp or sftp.  See bug 574
for more information.

Signed-off-by: Don Fry <brazilnut@us.ibm.com>
20 years agoAdd poll() support to xenbus device file.
kaf24@firebug.cl.cam.ac.uk [Mon, 20 Mar 2006 11:00:58 +0000 (12:00 +0100)]
Add poll() support to xenbus device file.

From: Gerd Hoffmann
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoMerged.
emellor@leeni.uk.xensource.com [Mon, 20 Mar 2006 08:56:54 +0000 (09:56 +0100)]
Merged.

20 years agoRemove unused, broken, redundant and undocumented option xm create -L.
emellor@leeni.uk.xensource.com [Mon, 20 Mar 2006 08:56:46 +0000 (09:56 +0100)]
Remove unused, broken, redundant and undocumented option xm create -L.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
20 years agoFix VMX guest can not be created on PAE xen with more than 4G RAM.
kaf24@firebug.cl.cam.ac.uk [Sun, 19 Mar 2006 17:55:46 +0000 (18:55 +0100)]
Fix VMX guest can not be created on PAE xen with more than 4G RAM.
Also change v_end type from unsigned long to unsigned long long, for we
will have PAE VMX guest with more than 4G memory on PAE xen.

Signed-off-by: Xin Li <xin.b.li@intel.com>
20 years agoThis patch fix HVM/VMX time resolution issue that cause IA32E complain
kaf24@firebug.cl.cam.ac.uk [Sun, 19 Mar 2006 17:52:20 +0000 (18:52 +0100)]
This patch fix HVM/VMX time resolution issue that cause IA32E complain
"loss tick" occationally and APIC time calibration issue.

Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com>
Signed-off-by: Eddie Dong <eddie.dong@intel.com>
20 years agoAbstract some details of context switching into ctxt_switch_from/to
kaf24@firebug.cl.cam.ac.uk [Sun, 19 Mar 2006 16:10:20 +0000 (17:10 +0100)]
Abstract some details of context switching into ctxt_switch_from/to
function hooks. Allows neater separation between paravirtual and
HVM code paths.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoMove arch/x86 to new build system.
kaf24@firebug.cl.cam.ac.uk [Sun, 19 Mar 2006 14:17:50 +0000 (15:17 +0100)]
Move arch/x86 to new build system.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoApply Xen build system changes to all non-arch subdirectories.
kaf24@firebug.cl.cam.ac.uk [Sun, 19 Mar 2006 13:02:18 +0000 (14:02 +0100)]
Apply Xen build system changes to all non-arch subdirectories.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoConditionalize building the Xen ACPI driver.
kaf24@firebug.cl.cam.ac.uk [Sun, 19 Mar 2006 12:13:35 +0000 (13:13 +0100)]
Conditionalize building the Xen ACPI driver.

Also introduces some cleanups to the Xen build system.

Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoFix VMX EFER write logic. Also some cleanups.
kaf24@firebug.cl.cam.ac.uk [Sun, 19 Mar 2006 11:48:51 +0000 (12:48 +0100)]
Fix VMX EFER write logic. Also some cleanups.

Signed-off-by: Xin Li <xin.b.li@intel.com>
20 years agoAdd back hvm guest apm support and fixed the original apm issues to
kaf24@firebug.cl.cam.ac.uk [Sun, 19 Mar 2006 11:41:28 +0000 (12:41 +0100)]
Add back hvm guest apm support and fixed the original apm issues to
make "halt -p" and "shutdown -h now" work. Also added apm 0x05 CPU
idle, 0x08 Enable PM and 0x0f apm engage/disengage subfunctions.

Signed-off-by: Winston Wang <winston.l.wang@intel.com>
20 years agolinux-x86_64: Sync with native.
cl349@firebug.cl.cam.ac.uk [Sat, 18 Mar 2006 16:30:20 +0000 (16:30 +0000)]
linux-x86_64: Sync with native.

From: Jan Beulich <JBeulich@novell.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFix a race that crash domU by calling xenbus_probe twice if it receive event
vhanquez@kneesa.uk.xensource.com [Sat, 18 Mar 2006 13:56:34 +0000 (13:56 +0000)]
Fix a race that crash domU by calling xenbus_probe twice if it receive event
between xs_init and setting xenbus_running

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agoMove __do_IRQ() definition to ia64 header file where it belongs.
kaf24@firebug.cl.cam.ac.uk [Sat, 18 Mar 2006 10:12:45 +0000 (11:12 +0100)]
Move __do_IRQ() definition to ia64 header file where it belongs.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agomerge with xen-ia64-unstable.hg
kaf24@firebug.cl.cam.ac.uk [Sat, 18 Mar 2006 09:59:11 +0000 (10:59 +0100)]
merge with xen-ia64-unstable.hg

20 years agoUpdate to Linux 2.6.16-rc6.
cl349@firebug.cl.cam.ac.uk [Sat, 18 Mar 2006 00:12:26 +0000 (00:12 +0000)]
Update to Linux 2.6.16-rc6.

Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
--HG--
rename : patches/linux-2.6.16-rc5/i386-mach-io-check-nmi.patch => patches/linux-2.6.16-rc6/i386-mach-io-check-nmi.patch
rename : patches/linux-2.6.16-rc5/net-csum.patch => patches/linux-2.6.16-rc6/net-csum.patch
rename : patches/linux-2.6.16-rc5/pmd-shared.patch => patches/linux-2.6.16-rc6/pmd-shared.patch
rename : patches/linux-2.6.16-rc5/smp-alts.patch => patches/linux-2.6.16-rc6/smp-alts.patch

20 years agomerge
awilliam@xenbuild.aw [Fri, 17 Mar 2006 22:37:28 +0000 (15:37 -0700)]
merge

20 years ago[IA64] VT-i Domains should use same hvm builder as VT-x
awilliam@xenbuild.aw [Fri, 17 Mar 2006 21:26:24 +0000 (14:26 -0700)]
[IA64] VT-i Domains should use same hvm builder as VT-x

Signed-off-by: Fred Yang <fred.yang@intel.com>
20 years ago[IA64] -mconstant-gp gcc/as option added.
awilliam@xenbuild.aw [Fri, 17 Mar 2006 21:23:43 +0000 (14:23 -0700)]
[IA64] -mconstant-gp gcc/as option added.

Thus gp is not saved/restored before calls, saving memory and bundles.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
20 years ago[IA64] zero_page_memmap_ptr removed (was unused).
awilliam@xenbuild.aw [Fri, 17 Mar 2006 21:21:56 +0000 (14:21 -0700)]
[IA64] zero_page_memmap_ptr removed (was unused).

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>